package com.atguigu.srb.core.service;

import com.atguigu.srb.core.pojo.bo.TransFlowBo;
import com.atguigu.srb.core.pojo.entity.TransFlow;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 交易流水表 服务类
 * </p>
 *
 * @author pandengZhu
 * @since 2023-02-01
 */
public interface TransFlowService extends IService<TransFlow> {

    /**
     * 保存交易流水
     * @param transFlowBo
     */
    void saveTransFlow(TransFlowBo transFlowBo);

    /**
     * 判断交易流水是否存在
     * @param agentBillNo
     * @return
     */
    boolean isSaveTransFlow(String agentBillNo);

}
